package com.ai.controller.made;


import com.ai.annotation.EnterPathParamLog;
import com.ai.common.CommonResponse;
import com.ai.service.made.ICoalRoutingInspectionAlarmRecordInfoService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 巡检详情信息接口
 * @author jiaok
 * @since 2024-10-29
 */
@RestController
@RequestMapping("/coal-routing-inspection-alarm-record-info")
public class CoalRoutingInspectionAlarmRecordInfoController {


    @Resource
    private ICoalRoutingInspectionAlarmRecordInfoService iCoalRoutingInspectionAlarmRecordInfoService;

    @ApiOperation("查询指定巡检的详细信息")
    @PostMapping("/inspectionInfo/{id}")
    @EnterPathParamLog
    public CommonResponse inspectionInfo(@PathVariable("id") String inspectAlarmRecordId) {
        return iCoalRoutingInspectionAlarmRecordInfoService.inspectionInfo(inspectAlarmRecordId);
    }


}
